package layout

import android.widget.ImageView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.haiheng.bookmusic.utils.GlideUtils
import com.it.bannner.R


class PaymentAdapter(layoutResId: Int, data: List<String>?) :
    BaseQuickAdapter<String, BaseViewHolder>(layoutResId, data) {
    private val TAG = "PaymentAdapter"

    override fun convert(helper: BaseViewHolder?, item: String?) {
        helper?.run {

            val imageView = getView<ImageView>(R.id.iv_payment)
            item?.let { GlideUtils.load(mContext, it,imageView) }
        }


    }


}